#ifndef __POWER_H
#define __POWER_H

#include "GD32F4xx.h"

/*
	POWER_EN	 PC13	
*/

#define POWER_GPIO_RCU 	RCU_GPIOC
#define POWER_PORT			GPIOC
#define POWER_PIN				GPIO_PIN_13



void power_config(void);
void power_shutdown(void);
uint16_t power_get_bat_val(void);

#endif

